package com.lcg.learn.factory.simpleFactory;

import com.lcg.learn.factory.simpleFactory.model.Car;

public class CarFactoryTest {
    public static void main(String[] args) {
        CarFactory cf = new CarFactory();
        Car bmw = cf.makeCar("宝马");
        bmw.makeCar();
        Car audi = cf.makeCar("奥迪");
        audi.makeCar();
    }
}
